package cn.wolfcode.transfer.mapper;

import cn.wolfcode.transfer.domain.EmployeeRole;
import cn.wolfcode.transfer.domain.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    int updateByPrimaryKey(Role record);
    List<Role> selectById(@Param("employeeId")Long id);
}